package entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.io.Serializable;
import java.util.List;

/**
 * (MacOrder)实体类
 *
 * @author makejava
 * @since 2021-05-11 08:55:04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MacOrder implements Serializable {
    private static final long serialVersionUID = 470172976237064265L;
    /**
     * 机器订单id
     */
    private Integer macOrderId;
    /**
     * 订单编号
     */
    private String macOrderCode;
    /**
     * 员工id
     */
    private Integer memberId;
    /**
     * 申请人id
     */
    private Integer applyId;
    /**
     * 1待审核，2已拒绝，3已取消，4待出票，5已出票
     */
    private Integer macOrderStatus;
    /**
     * 0 正常 1 加急
     */
    private Integer isUrgency;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp createTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp updateTime;

    private Integer isDelete;
    /**
     * 实体类
     */
    private Member member;

    private List<OrderFight> orderFights;



}
